
// 判断环境
let env = '';
let baseUrl = '';
let baseUrlTow='';
let baseUrlThree='';
const version = __wxConfig.envVersion;
console.log(version,"version0000")
env=version

let baseUrlImg = 'https://mu-1306579977.cos.ap-guangzhou.myqcloud.com/app/img'//全局的图片地址

if (version === 'develop') {
  baseUrl = 'https://test.xxb.xialoukeji.com';//副用后台api
  // baseUrlTow='https://test.xiuxian.xialoukeji.com';//前端api主要地址

  // baseUrlThree = 'https://test.xialou.xialoukeji.com';

} else if (version === 'release') {
  baseUrl = 'https://xxb.xialoukeji.com';
  // baseUrlTow='https://xiuxian.xialoukeji.com';
  // baseUrlThree = 'https://xialou.xialoukeji.com';
} else if (version === 'trial') {
  baseUrl = 'https://test.xxb.xialoukeji.com';//副用后台api
  // baseUrlTow='https://test.xiuxian.xialoukeji.com';//前端api主要地址
  // baseUrlThree = 'https://test.xialou.xialoukeji.com';
}

export {
  baseUrl,
  baseUrlImg,
  baseUrlTow,
  baseUrlThree,
  env
}